{extend name="public/base"/} {block name="style"}{/block} {block name="body"}
<section class="content-header">
  <h1>
    污染源管理
    <small>编辑污染源信息</small>
  </h1>
  <ol class="breadcrumb">
    <li><a href="{:url('/')}"><i class="fa fa-dashboard"></i> 面板</a></li>
    <li><a href="{:url('index')}">污染源管理</a></li>
    <li class="active">编辑污染源</li>
  </ol>
</section>
<section class="content">
  <div class="box box-info box-form">
    <div class="box-header with-border">
      <h3 class="box-title">编辑污染源</h3>
    </div>
    <!-- form start -->
    <form method="POST" action="">
      <div class="box-body">
        <div class="form-group col-md-6">
          <label for="name" class="control-label">污染源名称：</label>
          <input type="text" class="form-control " id="name" name="name" placeholder="污染源名称：" value="{$item.name}">
          <input type="text" id="id" name="id" hidden="hidden"  value="{$item.id}">
        </div>

        <div class="form-group col-md-6">
          <label for="location" class="control-label">地理位置：</label>
          <input type="text" class="form-control " id="location" name="location" placeholder="地理位置：" value="{$item.location}">
        </div>
        <div class="form-group col-md-6">
          <label for="inflow" class="control-label">污染源流入河流：</label>
          <input type="text" class="form-control " id="inflow" name="inflow" placeholder="污染源流入河流" value="{$item.inflow}">
        </div>
        <div class="form-group  col-md-6">
          <label for="outflow" class="control-label">污染源流出河流：</label>
          <input type="text" class="form-control " id="outflow" name="outflow" placeholder="污染源流出河流：" value="{$item.outflow}">
        </div>
        <div class="form-group  col-md-6">
          <label for="sort" class="control-label">排序：</label>
          <input type="text" class="form-control " id="sort" name="sort" placeholder="排序 " value="{$item.sort}">
        </div>

      </div>
      <!-- /.box-body -->
      <div class="box-footer ">
        <button type="reset" class="btn btn-default">重置表单</button>
        <button type="submit" class="btn btn-info pull-right">提交保存</button>
      </div>
      <!-- /.box-footer -->
    </form>
  </div>
</section>
{/block} {block name="scripts"}{/block}